import API from '~/utils/request'

export const LOGIN = data => {
    return API("chat/chat/login", data, 'msg');
};

export const GAT_LIST = data => {
    return API("chat/chat/gat_list", data);
};
export const GAT_CATE = data => {
    return API("chat/chat/get_cate", data);
};
export const GAT_WOW = data => {
    return API("chat/chat/get_wow", data);
};
export const REGISTER = data => {
    return API("chat/chat/register", data, 'msg');
};
export const SAVE_PWD = data => {
    return API("chat/chat/save_pwd", data, 'msg');
};
export const MSG_DX = data => {
    return API("chat/Msgal/msg_dx", data);
};
export const HELP_LIST = data => {
    return API("chat/chat/help_list", data);
};
export const SHOW_HELP = data => {
    return API("chat/chat/show_help", data);
};
export const GE_PREFIX = data => {
    return API("chat/chat/ge_prefix", data);
};
export const GET_ERWEIMA = data => {
    return API("chat/chat/get_erweima", data);
};
export const GET_REAL_NAME = data => {
    return API("chat/chat/get_real_name", data);
};
export const GET_INFO = data => {
    return API("pay/Alipay/get_info", data);
};
export const CHECK_CODE_PWD = data => {
    return API("chat/chat/check_code_pwd", data);
};
export const GET_ACCESS_TOKEN = data => {
    return API("pay/Alipay/get_access_token", data, 'msg');
};